<!--
<template>
  <div>
    <div>
      <Banner :isHide="isHide"></Banner>
    </div>
    <div>
      <el-container style="height: 100%; border: 1px solid #eee;  " >
        <el-aside width="200px" style="background-color: rgb(57,57,58)">
          <el-menu :default-openeds="['1', '3']"        background-color="#39393AFF">
            <el-submenu index="1">
              <template v-slot:title><i class="el-icon-message"></i>员工模块</template>
              <el-menu-item-group>
                <el-menu-item index="1-1"><router-link to="/home/EmployeePages">员工列表</router-link></el-menu-item>
                <el-menu-item index="1-2"><router-link to="/home/Roles">角色列表</router-link></el-menu-item>
                <el-menu-item index="1-3"><router-link to="/home/SingleSHandle">个人业务</router-link></el-menu-item>
                <el-menu-item index="1-3"><router-link to="/home/EmployeeEdit">个人信息</router-link></el-menu-item>
              </el-menu-item-group>
            </el-submenu>
            <el-submenu index="2">
              <template v-slot:title><i class="el-icon-menu"></i>高中知识专栏</template>
              <el-menu-item-group>
                <template v-slot:title>化学专栏</template>
                <el-menu-item index="2-1"><router-link to="/home/EmployeePages">化学理论</router-link></el-menu-item>
                <el-menu-item index="2-2"><router-link to="/home/Roles">化学产品</router-link></el-menu-item>
              </el-menu-item-group>
              <el-menu-item-group>
                <template v-slot:title>英语专栏</template>
                <el-menu-item index="2-1"><router-link :to="{name:'English'}">英语理论</router-link></el-menu-item>
                <el-menu-item index="2-2"><router-link to="/home/Roles">英语产品</router-link></el-menu-item>
              </el-menu-item-group>
              <el-menu-item-group>
                <template v-slot:title>数学专栏</template>
                <el-menu-item index="2-1"><router-link to="/home/EmployeePages">数学理论</router-link></el-menu-item>
                <el-menu-item index="2-2"><router-link to="/home/Roles">数学产品</router-link></el-menu-item>
              </el-menu-item-group>
            </el-submenu>
            <el-submenu index="3">
              <template v-slot:title><i class="el-icon-setting"></i>坤坤交流</template>
              <el-menu-item-group>
                <template v-slot:title>男性</template>
                <el-menu-item index="3-1">选项1</el-menu-item>
                <el-menu-item index="3-2">选项2</el-menu-item>
              </el-menu-item-group>
              <el-menu-item-group >
                <template v-slot:title>女性</template>
                <el-menu-item index="3-3">选项1</el-menu-item>
                <el-menu-item index="3-4">选项2</el-menu-item>
              </el-menu-item-group>

            </el-submenu>
            <el-submenu index="4">
              <template v-slot:title><i class="el-icon-setting"></i>学历提升</template>
              <el-menu-item-group>
                <template v-slot:title>大专</template>
                <el-menu-item index="4-1">选项1</el-menu-item>
                <el-menu-item index="4-2">选项2</el-menu-item>
              </el-menu-item-group>
              <el-menu-item-group>
                <template v-slot:title>本科</template>
                <el-menu-item index="4-3">选项1</el-menu-item>
                <el-menu-item index="4-4">选项2</el-menu-item>
              </el-menu-item-group>
              <el-menu-item-group>
                <template v-slot:title>硕士</template>
                <el-menu-item index="4-5">选项1</el-menu-item>
                <el-menu-item index="4-6">选项2</el-menu-item>
              </el-menu-item-group>
              <el-menu-item-group>
                <template v-slot:title>博士</template>
                <el-menu-item index="4-7">选项1</el-menu-item>
                <el-menu-item index="4-8">选项2</el-menu-item>
              </el-menu-item-group>
            </el-submenu>
            <el-submenu index="5">
              <template v-slot:title><i class="el-icon-setting"></i>金融生活</template>
              <el-menu-item-group>
                <template v-slot:title>证券</template>
                <el-menu-item index="5-1">选项1</el-menu-item>
                <el-menu-item index="5-2">选项2</el-menu-item>
              </el-menu-item-group>
              <el-menu-item-group>
                <template v-slot:title>债卷</template>
                <el-menu-item index="5-3">选项1</el-menu-item>
                <el-menu-item index="5-4">选项2</el-menu-item>
              </el-menu-item-group>
            </el-submenu>
            <el-submenu index="6">
              <template v-slot:title><i class="el-icon-setting"></i>虚拟计算机</template>
              <el-menu-item-group>
                <template v-slot:title>硬件</template>
                <el-menu-item index="3-1">选项1</el-menu-item>
                <el-menu-item index="3-2">选项2</el-menu-item>
              </el-menu-item-group>
              <el-menu-item-group>
                <template v-slot:title>软件</template>
                <el-menu-item index="3-1">选项1</el-menu-item>
                <el-menu-item index="3-2">选项2</el-menu-item>
              </el-menu-item-group>
            </el-submenu>
            <el-submenu index="7">
              <template v-slot:title><i class="el-icon-setting"></i>系统参数</template>
              <el-menu-item-group>
                <template v-slot:title>日志</template>
                <el-menu-item index="7-1">选项1</el-menu-item>
                <el-menu-item index="7-2">选项2</el-menu-item>
              </el-menu-item-group>

            </el-submenu>
            <el-submenu index="8">
              <template v-slot:title>
                <i class="el-icon-setting"></i>权限控制
              </template>
              <el-menu>
                <el-menu-item-group >
                  <template v-slot:title>日志</template>
                  <el-menu-item index="3-1">选项1</el-menu-item>
                  <el-menu-item index="3-2">选项2</el-menu-item>
                </el-menu-item-group>

              </el-menu>
            </el-submenu>
          </el-menu>
        </el-aside>
          <el-container>
          <router-view></router-view>
          </el-container>
      </el-container>
    </div>

  </div>
</template>


<script>

import Banner from "../components/Banner.vue";
// import Banner from "@/components/Banner.vue";

export default {
  name: "Home",
  components: {
    Banner
  },

  data() {

    return {
      currentUser: {},
      isHide: false
    }
  },
  created() {
    console.log("homeuser当前的对象:", this.$route.query.user);
    this.currentUser = this.$route.query.user;
  }
};
</script>
<style scoped>
</style>
-->
